fix: [BUG] qwen3_5 dense: mixed-precision NVFP4 crashes in ct_bf16_fuse (Float8 × BFloat16 promotion) - #275
fix: [BUG] qwen3_5 dense: mixed-precision NVFP4 crashes in ct_bf16_fuse (Float8 × BFloat16 promotion)#275yuyi2439 wants to merge 1 commit into
Conversation
…se (Float8 × BFloat16 promotion) Fixes FlashML-org#238
|
Tested this approach out-of-tree — confirms it fixes #238 on a second checkpoint variant and a second platform. I'm on a compiled build, so I couldn't apply the diff literally. Instead I patched one level down at Env: freetoken
Two caveats worth stating plainly:
One question: #238's traceback lands at |
|
Correction to my report above — I spoke too soon. The conversion completing is not the end of the story: the resulting FTW does not load. Serving it fails downstream, in model construction rather than in the weight walker: Root cause, and I don't think it is in scope for this PR: The deeper issue is that quantization is resolved into three global scalars (
Fixing So my earlier conclusion needs revising: this change removes the Float8 promotion crash, but on a mixed-precision checkpoint it produces an FTW the engine cannot consume. It converts, then dies at load. Worth noting #208 appears to target exactly this, with per-module native storage reusing the existing Is this PR still wanted as a narrower stopgap for checkpoints that only trip the loader path, or is it superseded by #208? Happy to test either. |
Fixes #238